struct Solution {}

fn main() {}

impl Solution {
    pub fn find_words_containing(words: Vec<String>, x: char) -> Vec<i32> {
        let mut ret = Vec::new();
        for idx in 0..words.len() {
            if words[idx].contains(x) {
                ret.push(idx as i32);
            }
        }
        ret
    }
}